#!/bin/bash

./consumer-build.sh

if [ $? -ne 0 ]; then
    exit 1
fi

tDate=`date "+%Y%m%d%H%M%S"`

cd consumer_docker

docker build ./ -t jibin0310/feign-consumer:$tDate
#docker push jibin0310/feign-consumer:$tDate
